package com.fzkj.shejimoshi.adapter;

import com.fzkj.shejimoshi.adapter.media.AudioPlayer;

/**
 * @DESCRIPTION: TODO 测试适配器模式
 * @AUTHOR: AnotherOne
 * @DATE: 2021/8/12 16:33
 */
public class Test {

    public static void main(String[] args) {
        AudioPlayer player = new AudioPlayer();
        player.play(AudioType.MP3, "1.mp3");
        player.play(AudioType.MP4, "2.mp4");
        player.play(AudioType.VLC, "3.vlc");
        player.play(AudioType.AVI, "4.avi");
    }

}
